-- GENERATED SPELL FOR [Burning Blade Augur] --


function spell0_4663(pUnit, Event) --@Curse of Thorns,n/a--
pUnit:FullCastSpellOnTarget(6909,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4663', 2000, 1)
end

function spell1_4663(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(20807,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4663', 3000, 1)
end

function Sorts_4663(pUnit, Event)
local choix_sorts_4663 = math.random(0, 1)
if choix_sorts_4663 == 0 then
pUnit:RegisterEvent('spell0_4663', 1, 1)
end
if choix_sorts_4663 == 1 then
pUnit:RegisterEvent('spell1_4663', 1, 1)
end
end

function mob4663_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4663', math.random(1500, 3000), 1)
end

function mob4663_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4663_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4663_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4663, 1, 'mob4663_Action')
RegisterUnitEvent(4663, 2, 'mob4663_Leave')
RegisterUnitEvent(4663, 3, 'mob4663_Kill')
RegisterUnitEvent(4663, 4, 'mob4663_Die')
